﻿using Newtonsoft.Json;
using Project.Core.Config.Entity;
using System.ComponentModel.DataAnnotations.Schema;

namespace Project.Core.Test.Entity {
    /// <summary>
    /// 书
    /// </summary>
    [Table("sys_book")]
    public class SysBook : BaseEntity<int>
    {
        /// <summary>
        /// 书名
        /// </summary>
        [Column("name")]
        public string Name { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [Column("description")]
        public string? Description { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        [Column("price")]
        public string? Price { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        [Column("category")]
        public string? Category { get; set; }

    }
}
